package com.webproject.dao.houseManager;

import java.util.List;

import com.webproject.core.Page;
import com.webproject.entity.houseManager.AcceptRoomInfo;
import com.webproject.entity.houseManager.Room;
import com.webproject.entity.houseManager.RoomInfo;
import com.webproject.entity.houseManager.RoomRepairInfo;


public interface RoomManagerDao {
	List<Room> queryRoom(Page page);
	int queryRoomCount(Page page);
	void saveRoom(Room room);
	void updateRoom(Room room);
	void deleteRoom(Room room);
	
	/**
	 * 房产资料
	 */
	List<RoomInfo> queryRoomInfo(Page page);
	List<RoomInfo> queryRoomInfo();
	int queryRoomInfoCount(Page page);
	void saveRoomInfo(RoomInfo roomInfo);
	void updateRoomInfo(RoomInfo roomInfo);
	void deleteRoomInfo(RoomInfo roomInfo);
	
	/**
	 * 房子维修记录
	 */
	List<RoomRepairInfo> queryRoomRepairInfo(Page page);
	int queryRoomRepairInfoCount(Page page);
	void saveRoomRepairInfo(RoomRepairInfo repairInfo);
	void updateRoomRepairInfo(RoomRepairInfo repairInfo);
	void deleteRoomRepairInfo(RoomRepairInfo repairInfo);
	
	/**
	 * 房子交房记录
	 */
	List<AcceptRoomInfo> queryAcceptRoomInfo(Page page);
	int queryAcceptRoomInfoCount(Page page);
	void saveAcceptRoomInfo(AcceptRoomInfo acceptRoomInfo);
	void updateAcceptRoomInfo(AcceptRoomInfo acceptRoomInfo);
	
	
	
	
}
